A model of life